package com.railway.bean;

import java.util.Date;

public class Suggestions {
	
	private int suggestionId;//建议Id
	
	private String userName;//用户名
	
	private String userIdType;//证件类型
	
	private String userIdNum;//证件号码
	
	private String userPhone;//联系方式
	
	private String suggestionObject;//建议对象
	
	private String suggestionText;//建议描述
	
	private Date suggestionTime;//建议发布时间
	
	private int isdelete;//是否被删除

	public int getSuggestionId() {
		return suggestionId;
	}

	public void setSuggestionId(int suggestionId) {
		this.suggestionId = suggestionId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserIdType() {
		return userIdType;
	}

	public void setUserIdType(String userIdType) {
		this.userIdType = userIdType;
	}

	public String getUserIdNum() {
		return userIdNum;
	}

	public void setUserIdNum(String userIdNum) {
		this.userIdNum = userIdNum;
	}

	public String getUserPhone() {
		return userPhone;
	}

	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}

	public String getSuggestionObject() {
		return suggestionObject;
	}

	public void setSuggestionObject(String suggestionObject) {
		this.suggestionObject = suggestionObject;
	}

	public String getSuggestionText() {
		return suggestionText;
	}

	public void setSuggestionText(String suggestionText) {
		this.suggestionText = suggestionText;
	}

	public int getIsdelete() {
		return isdelete;
	}

	public void setIsdelete(int isdelete) {
		this.isdelete = isdelete;
	}

	public Date getSuggestionTime() {
		return suggestionTime;
	}

	public void setSuggestionTime(Date suggestionTime) {
		this.suggestionTime = suggestionTime;
	}

	public Suggestions() {
		super();
	}

	public Suggestions(int suggestionId, String userName, String userIdType, String userIdNum, String userPhone,
			String suggestionObject, String suggestionText, int isdelete) {
		super();
		this.suggestionId = suggestionId;
		this.userName = userName;
		this.userIdType = userIdType;
		this.userIdNum = userIdNum;
		this.userPhone = userPhone;
		this.suggestionObject = suggestionObject;
		this.suggestionText = suggestionText;
		this.isdelete = isdelete;
	}

	public Suggestions(String userName, String userIdType, String userIdNum, String userPhone, String suggestionObject,
			String suggestionText) {
		super();
		this.userName = userName;
		this.userIdType = userIdType;
		this.userIdNum = userIdNum;
		this.userPhone = userPhone;
		this.suggestionObject = suggestionObject;
		this.suggestionText = suggestionText;
	}

	@Override
	public String toString() {
		return "Suggestions [userName=" + userName + ", userIdType=" + userIdType + ", userIdNum=" + userIdNum
				+ ", userPhone=" + userPhone + ", suggestionObject=" + suggestionObject + ", suggestionText="
				+ suggestionText + "]";
	}

	
	
	
}
